#include <QCoreApplication>
#include <iostream>
#include <math.h>
using namespace std;

int main()
{
    double num, sum;
    int op;
cout<<"Vvedite edenitsu izmereniya:";
cin >> op;
cout<<"dlinu:";
cin >> num;

    switch(op)
    {
        case(1) :
            sum = num/10;
            break;
        case(2) :
            sum = num*1000;
            break;
        case(3) :
            sum = num;
            break;
        case(4) :
            sum = num / 1000;
        case(5) :
            sum = num / 100;
            break;
    }

cout << "dlina v metrax="<<sum;


    return 0;
}
